package inheritance;

import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.Arrays;

import javax.lang.model.element.Modifier;

public class Application {

    public void say() {
        Manager manager = new Manager();
        manager.salary = 100;
        manager.setBonus(50);
        manager.getSalary();
        System.out.println(manager.getSalary());

        // ArrayList<String> names = new ArrayList<String>(100) {
        //     public void add(int index, String element) {
        //         super.add(index, element);
        //         System.out.printf("Adding %s at %d\n", element, index);
        //     }
        // };

        // names.add(0, "wtf");

        // ConcurrentWorker worker = new ConcurrentWorker();
        // worker.work();

        // Size[] all = Size.values();
        // System.out.println(Arrays.toString(all));

        Operation op = Operation.MULTIPLY;
        System.out.println(op.eval(2,8));

        Class<?> cl = op.getClass();
        System.out.println("This object is an instance of" + cl.getName());

        // URL[] urls = ((URLClassLoader)Application.class.getClassLoader()).getURLs();
        // System.out.println(Arrays.toString(urls));

        

    }

    
}